//
//  Rank_PeopleInfoMarkCell.m
//  YLProject
//
//  Created by 张伯林 on 2018/2/4.
//  Copyright © 2018年 WY. All rights reserved.
//

#import "Rank_PeopleInfoMarkCell.h"

@implementation Rank_PeopleInfoMarkCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [_collectionView registerClass:UICollectionViewCell.class forCellWithReuseIdentifier:NSStringFromClass(UICollectionViewCell.class)];
}
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
    return 8;
}
- (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
    UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:NSStringFromClass(UICollectionViewCell.class) forIndexPath:indexPath];
    cell.backgroundColor = [UIColor purpleColor];
    return cell;
}
-(void)initWithModel:(id)model index:(NSInteger)index{
    if (index == 1) {
        self.headerTitleLabel.text = @"个人资料";
    }else if (index == 2){
        self.headerTitleLabel.text = @"他的标签";
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
